<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jq</title>
</head>
<style>
	
</style>
<script src="jquery.js"></script>

<body>
	
					
	
	
</body>
<script>
	
	/*obj=new Object();
	alert(obj);*/
	
	obj=new Object();
	obj.username='123';
	//方法
	obj.say=function(){
		alert('my name is:'+this.username);
	}

	//打印名字
	//alert(obj.username);
	//调用方法
	obj.say();
	
</script>
</html>